import javax.swing.*;

/*
 *@Student 张策
 */
public class ZctankGame02 extends JFrame {
    Mypanel mp=null;
    public static void main(String[] args) {
        ZctankGame02 zctankGame02 = new ZctankGame02();
    }
    public ZctankGame02() {
        mp=new Mypanel();
        this.add(mp);
        this.setSize(1000,750);
        this.addKeyListener(mp);
        this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        this.setVisible(true);
    }
}
